package edu.wpi.first.wpilibj.templates;

/**
 * The RobotMap is a mapping from the ports sensors and actuators are wired into
 * to a variable name. This provides flexibility changing wiring, makes checking
 * the wiring easier and significantly reduces the number of magic numbers
 * floating around.
 */
public class RobotMap {
    // For example to map the left and right motors, you could define the
    // following variables to use with your drivetrain subsystem.
    // public static final int leftMotor = 1;
    // public static final int rightMotor = 2;
    // If you are using multiple modules, make sure to define both the port
    // number and the module. For example you with a rangefinder:
    // public static final int rangefinderPort = 1;
    // public static final int rangefinderModule = 1;
    
    // The 2010 robot has 2 sets of Jaguar motors 
    public static final int DRIVE_TRAIN_FRONT_LEFT_MOTOR = 2;
    public static final int DRIVE_TRAIN_REAR_LEFT_MOTOR = 4;
    public static final int DRIVE_TRAIN_FRONT_RIGHT_MOTOR = 1;
    public static final int DRIVE_TRAIN_REAR_RIGHT_MOTOR = 3;
    
    /**
     * The Left Joystick is plugged into USB port 1 of the driver station
     * Use this joystick for driving with arcade drive
     */
    public static final int JOYSTICK_LEFT_PORT = 1;
    
    /**
     * The Left Joystick is plugged into USB port 1 of the driver station
     * Use this joystick for moving camera via camera servos
     */
    public static final int JOYSTICK_RIGHT_PORT = 2;
      
    /**
     * Constants for camera control
     */
    public static final String CAMERA_IP_ADDRESS= "10.6.14.20";
    
    /**
     * Camera servo ports (camera servos move the camera)
     */
    public static final int CAM_SERVO_X=6;
    public static final int CAM_SERVO_Y=7;
    
}
